package com.adlotto2.android;

import android.app.Application;

import com.adlotto2.android.cronos.http.CNLottoAdApiSet;
import com.adlotto2.android.util.CNCronosLog;

public class LottoAdApplication extends Application
{
	private boolean mIsTabClicked = false;
	public static boolean mIsLockScreen = false;
	
	@Override
	public void onCreate()
	{
		super.onCreate();
		
		// Release 시 CNCronosLog.LOG_LEVEL_NONE으로 변경
		// Debug 시 CNCronosLog.LOG_LEVEL_VERBOSE
		CNCronosLog.setLogLevel(CNCronosLog.LOG_LEVEL_VERBOSE);
		// true : 실서버, false : 개발서버
		CNLottoAdApiSet.setIsLive(true);
	}
	
	public boolean isTabClicked() {
		return mIsTabClicked;
	}
	
	public void setIsTabClicked(boolean isClicked) {
		mIsTabClicked = isClicked;
	}
	
	@Override
	public void onTerminate()
	{
		super.onTerminate();
	}
}